<?php
class ModelSettingStore extends Model {
	public function getConferences($data = array()) {
		$conference_data = $this->cache->get('conference');
	
		if (!$conference_data) {
			$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "conference ORDER BY url");

			$conference_data = $query->rows;
		
			$this->cache->set('conference', $conference_data);
		}
	 
		return $conference_data;
	}	
}
?>